<template>
  <view>
    <view class="btns">
      <view class="btn" @click="$emit('click')">
        <slot></slot>
      </view>
    </view>
  </view>
</template>

<style lang="scss" scoped>
.btns {
  position: fixed;
  bottom: env(safe-area-inset-bottom);
  left: 0;
  width: 100%;
  padding: 22rpx 30rpx;
  box-sizing: border-box;
  background: #FFFFFF;
  box-shadow: 0rpx -4rpx 16rpx 0rpx rgba(0, 0, 0, 0.1000);

  .btn {
    height: 88rpx;
    background: #FB2D19;
    font-size: 32rpx;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 88rpx;
    border-radius: 49rpx;
    text-align: center;
  }
}
</style>